<template>
<!-- 1.0 顶部通栏布局 -->
  <AppTopnav></AppTopnav>
  <AppHeaderSticky/>
  <!-- 2.0 头部布局 -->
  <AppHeader/>
  <main class="app-body">
    <!-- 二级路由 -->
    <router-view></router-view>
  </main>
  <!-- 3.0 底部布局 -->
  <AppFooter/>
</template>

<script>
import AppTopnav from '@/components/app-topnav.vue'
import AppHeader from '@/components/app-header.vue'
import AppFooter from '@/components/app-footer.vue'
import AppHeaderSticky from '@/components/app-header-sticky.vue'
export default {
  components: { AppTopnav, AppHeader, AppFooter, AppHeaderSticky },
  name: 'xtx-layout'
}
</script>

<style scoped lang='less'>
.app-body {
  min-height: 600px;
}

</style>
